package com.shopmall.service;

import com.shopmall.pojo.GoodsInList;

import java.util.List;

public interface GoodsInListService {

    List<GoodsInList> queryGoodsInListList();

    List<GoodsInList> queryGoodsInListByGoodsName(String goods_name);

    int addGoodsInList(GoodsInList goodsInList);

    int updateGoodsInList(GoodsInList goodsInList);//mybatis中的update 和其他 数据库操作不一样哦，id直接以对象中属性传进修改了
    //而对象的id属性，并不允许修改的
    int deleteGoodsInList(int id);

}
